Inside Macintosh: Imaging with QuickDraw

Previous | Chapter Top | Chapter Contents | Next

Pictures Reference

This section describes the data structures, routines, and resources provided by QuickDraw for creating and drawing pictures and by the Picture Utilities for gathering information about pictures and pixel maps.

"Data Structures" shows the Pascal data structures for the Picture , OpenCPicParams , CommentSpec , FontSpec , and PictInfo records.

"QuickDraw and Picture Utilities Routines" describes QuickDraw routines for creating, drawing, and disposing of pictures, and it describes Picture Utilities routines for collecting information about pictures, pixel maps, and bitmaps. "Application-Defined Routines" describes how you can define your own method for selecting colors from pictures and pixel maps.

"Resources" describes the picture ( 'PICT' ) resource and the color-picking method ( 'cpmt' ) resource.

See Appendix A at the back of this book for a list of picture opcodes.

Data Structures

QuickDraw and Picture Utilities Routines

Creating and Disposing of Pictures

Drawing Pictures

Collecting Picture Information

Application-Defined Routines

Resources

The Picture Resource

The Color-Picking Method Resource


© 1997 Apple Computer, Inc.

Previous | Chapter Top | Chapter Contents | Next